<template>
  <div>
    <el-container style="heigth:100%">
      <el-aside width="auto">
          <common-aside></common-aside>
      </el-aside>
      <el-container>
        <el-header>
          <common-header></common-header>
          <common-tag></common-tag>
        </el-header>
        <el-main>
            <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import CommonAside from '../components/CommonAside.vue'
import CommonHeader from '../components/CommonHeader.vue'
import CommonTag from "../components/CommonTag.vue"

export default {
  name: "Main",
  components:{
      CommonAside,
      CommonHeader,
      CommonTag
      // Home
  },
  data() {
    return {};
  },
};
</script>

<style scoped>
.el-header {
  background-color: #333;
}
.el-container{
    height: 100vh;
}
.el-main{
  margin-top:40px
}
</style>